package com.css.fxfzysx.modules.vaolEngineering.service;

import com.css.fxfzysx.base.response.RestResponse;
import com.css.fxfzysx.modules.lifeline.entity.newEntity.SmxWaterSupplyEntity;
import com.css.fxfzysx.modules.vaolEngineering.param.update.WaterSupplyParam;
import org.springframework.web.multipart.MultipartFile;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;

public interface WsfManagementService {

    RestResponse calculationDamageDegree(String versionId,String tableId);

    RestResponse importDamageDegree(MultipartFile file);

    Map<String, Object> uploadWaterSupply(String fileIds, String versionId,String userId) throws Exception;

    HashMap<Integer, ArrayList<String>> getDataValidation(String versionId);

    SmxWaterSupplyEntity getByTableId(String id);

    void updateWsfManagementById(WaterSupplyParam waterSupplyParam);

    RestResponse count(WaterSupplyParam param);
}
